package pengwk.controller;

import pengwk.entity.PengwkEntity;
import pengwk.service.PengwkService;

import javax.annotation.Resource;
import java.util.List;

public class PengwkController {
    List<PengwkEntity> list = null;

    String name = null;
    @Resource
    PengwkService Pengwkservice;

    public String queryPage(){
        list =Pengwkservice.queryPage(name);
        return "queryPage";
    }

    public List<PengwkEntity> getList() {
        return list;
    }

    public void setList(List<PengwkEntity> list) {
        this.list = list;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
